package com.coolpad.Utils;

import org.springframework.util.Assert;

/**
 * 扩展
 */
public class ExtAssert extends Assert {


    public static void allHasText(String message, String... args){

        try {
            for(String arg : args) {
                hasText(arg);
            }
        }catch (Exception e){
            throw new IllegalArgumentException(message);
        }
    }
}
